﻿using iMES.Entity.SystemModels;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace iMES.Entity.DomainModels
{
    [Entity(TableCnName = "点检保养项目", TableName = "SheBei_MaintenanceItems")]
    public partial class SheBei_MaintenanceItems: SysEntity
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        [Display(Name = "ID")]
        [Column(TypeName = "uniqueidentifier")]
        [Required(AllowEmptyStrings = false)]
        public Guid ID { get; set; }
        /// <summary>
        ///项目名称
        /// </summary>
        [Display(Name = "项目名称")]
        [MaxLength(200)]
        [Column(TypeName = "nvarchar(200)")]
        public string ProjectName { get; set; }
        /// <summary>
        ///项目编码
        /// </summary>
        [Display(Name = "项目编码")]
        [MaxLength(200)]
        [Column(TypeName = "nvarchar(200)")]
        public string ProjectCode { get; set; }
        /// <summary>
        ///项目类型
        /// </summary>
        [Display(Name = "项目类型")]
        [Column(TypeName = "int")]
        public int Brand { get; set; }
        /// <summary>
        ///是否启用
        /// </summary>
        [Display(Name = "是否启用")]
        [Column(TypeName = "int")]
        public int Enabled { get; set; }
        /// <summary>
        ///项目内容
        /// </summary>
        [Display(Name = "项目内容")]
        [MaxLength(200)]
        [Column(TypeName = "nvarchar(200)")]
        public string ProjectContent { get; set; }
        /// <summary>
        ///标准
        /// </summary>
        [Display(Name = "标准")]
        [MaxLength(200)]
        [Column(TypeName = "nvarchar(200)")]
        public string Standard { get; set; }
        /// <summary>
        ///创建人
        /// </summary>
        [Display(Name = "创建人")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        [Editable(true)]
        public string Creator { get; set; }

        /// <summary>
        ///创建时间
        /// </summary>
        [Display(Name = "创建时间")]
        [Column(TypeName = "datetime")]
        [Editable(true)]
        public DateTime? CreateDate { get; set; }

        /// <summary>
        ///修改人
        /// </summary>
        [Display(Name = "修改人")]
        [MaxLength(50)]
        [Column(TypeName = "nvarchar(50)")]
        [Editable(true)]
        public string Modifier { get; set; }

        /// <summary>
        ///修改时间
        /// </summary>
        [Display(Name = "修改时间")]
        [Column(TypeName = "datetime")]
        [Editable(true)]
        public DateTime? ModifyDate { get; set; }
    }
}
